<%@page contentType="text/html;charset=UTF-8" pageEncoding="UTF-8"%>
<%@taglib prefix="s" uri="/struts-tags" %>

<head><title><s:text name="edit.group"/></title></head>

<s:head/>

<div class="panel" style="width: 300px">
	<div class="panelTitle"><s:text name="edit.group"/></div>
	
	<s:form theme="eve" validate="true" action="SecurityUpdateGroup" method="post" cssErrorClass="current">
		<s:hidden name="securityGroupId"/>
		<s:textfield name="name" required="true" requiredposition="left" labelposition="left" key="group.name" size="20" maxlength="50"/>
		<s:select required="true" requiredposition="left" key="authorities" name="authorities" value="securityGroup.authorities" list="authorities" multiple="true"></s:select>
		<tr><td colspan="2">&nbsp;</td></tr>
		<tr><td colspan="2" align="center">
			<s:submit theme="simple" key="save" />
			<s:submit theme="simple" action="SecurityGroups" key="cancel"/>
		</td></tr>
	</s:form>
</div>